﻿using System.Configuration;
using System.Web;

namespace Netkk.Data.Repositories
{
    public abstract class BaseRepository
    {
        protected string ConnectionString
        {
            get
            {
                string concectionString = ConfigurationManager.ConnectionStrings["MainData"].ConnectionString;
                return HttpContext.Current.Server.MapPath(concectionString);
            }
        }
    }
}
